package com.wu.pojo.reqeust.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel
@Data
public class RoleResourceEditRequest {
    @ApiModelProperty(value = "id")
    @NotNull(message = "id为空")
    private Long roleId;
    @ApiModelProperty(value = "权限id")
    private List<Long> resourceIds;
}
